#!/usr/bin/env bash
set -e

#comm -23 <(aptitude search '~i !~M' -F '%p' | sed "s/ *$//" | sort -u) <(gzip -dc /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u) > pkglist.trisquel
echo "Installing packages from trisquel repositories..."
sudo apt-get install $(<pkglist.trisquel)

echo "Installing ttf-font-awesome"
sudo cp -r fonts/* /usr/share/fonts/
fc-cache

echo "Changing default shell to zsh"
chsh -s /bin/zsh

echo "Installing screenfetch"
wget -O screenfetch  https://raw.githubusercontent.com/KittyKatt/screenFetch/master/screenfetch-dev
chmod +x screenfetch
sudo mv screenfetch /usr/bin/screenfetch
 

echo "Add:"export TERMINAL=urxvt" in .profile to set i3 default terminal emulator"
